@page "/Mermaid"
<MermaidDiagram Definition=@diagramDef></MermaidDiagram>

@code {
    string diagramDef = def1;

    const string def1 = @"
flowchart LR
    A-- text -->B
    A-- text -->C
";

}